package cn.org.alan.exam.model.vo.job;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.time.LocalDateTime;

/**
 * 说明：
 *
 * @Author Alan
 * @Version 1.0
 * @Date 2025/4/6 5:01 PM
 */
@Data
public class StudentJobPageVo {

    @ApiModelProperty("作业表主键")
    private Integer id;

    @ApiModelProperty("标题")
    private String title;

    @ApiModelProperty("内容")
    private String content;

    @ApiModelProperty("创建人ID")
    private Integer userId;

    @ApiModelProperty("班级ID")
    private Integer gradeId;

    @ApiModelProperty("状态,0未作答，1已作答，3尚未开始，4过期了")
    private Integer state;

    @ApiModelProperty("分数")
    private Double score;

    @ApiModelProperty("打分状态")
    private Integer markState;

    @ApiModelProperty("开始时间")
    private LocalDateTime startTime;

    @ApiModelProperty("截止时间")
    private LocalDateTime endTime;

    @ApiModelProperty("创建时间")
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;
}
